/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package general;

/**
 *
 * eCOM - Adopte un Presta - Mars-Avril 2013
 * @author Kheira, Jef, William, Tuan-Long
 */
public class OptionMutable extends OptionBase implements IOption {
    
	public OptionMutable(IOption option) {
		super(option.getShortName(), option.getName(), option.isSwitch(), option.isRequired());
	}

	public OptionMutable(String name, boolean isSwitch) {
		super(name, isSwitch);
	}
        
        public void setName(String name) {
		this.name = name;
	}


	public void setShortName(char shortName) {
		this.shortName = shortName;
	}
        
	public void setIsSwitch(boolean isSwitch) {
		this.isSwitch = isSwitch;
	}

	public void setIsRequired(boolean isRequired) {
		this.isRequired = isRequired;
	}



    
}
